package com.mspbots.web.reports.model;


import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.annotation.Transient;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Set;


/**
 *
 */
@Data
@NoArgsConstructor
public class User implements Serializable {

    @Id
    private Integer id;
    private String password;
    private Boolean enabled;
    private Integer tenantId;
    private String username, firstName, lastName, email;
    private LocalDateTime modifiedTime, lastLogin, createdTime;
    private Set<String> authorities;

    @Transient
    private String identifier;


}
